package rbac.exception;

/**
 * RBAC 异常抽象类, 是 RBAC 系统中其他异常的父类.
 * 
 * @author Huadi
 */
public abstract class RbacException extends Exception {

	private static final long serialVersionUID = 3364071326254175543L;

	// ---=== Fields ===--- //
	protected int exceptionCode;

	protected String exceptionMessage;

	// ---=== Constructors ===--- //
	public RbacException() {
	}

	// ---=== Getters and Setters ===--- //
	// This exception class doesn't provide setters.
	/**
	 * @return the exceptionMessage
	 */
	public String getExceptionMessage() {
		return exceptionMessage;
	}

	/**
	 * @return the exceptionCode
	 */
	public int getExceptionCode() {
		return exceptionCode;
	}

}
